﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Data;

namespace Himp.Platform
{
    /// <summary>
    /// 业务流任务
    /// </summary>
    public class AppBizflowTaskDto : IHasExtraProperties
    {
        /// <summary>
        /// 
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 流程模型Id
        /// </summary>
        public string WorkflowModelId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string WorkflowInstanceCodg { get; set; }

        /// <summary>
        /// 流程实例名称
        /// </summary>
        public string WorkflowInstanceName { get; set; }

        /// <summary>
        /// 流程实例内容描述
        /// </summary>
        public string WorkflowInstanceContdesc { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string Begintime { get; set; }

        /// <summary>
        /// 当前节点编码
        /// </summary>
        public string CurrNodeCodg { get; set; }

        /// <summary>
        /// 当前节点名称
        /// </summary>
        public string CurrNodeName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public EnumWorkflowInstanceStas WorkflowInstanceStas { get; set; }

        public string WorkflowInstanceStasName
        {
            get
            {
                return WorkflowInstanceStas.ToString();
            }
        }

        public string? Fintime { get; set; }

        public virtual ExtraPropertyDictionary ExtraProperties { get; protected set; }
    }
}
